package com.it.taobao.service.impl;

import com.it.taobao.dao.TaoBaoDao;
import com.it.taobao.service.TaoBaoService;
import com.it.taobao.vo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: liminghui
 * @date: 2022/6/26 16:02
 * @version: 1.0
 * @description:
 */
@Service
public class TaoBaoServiceImpl implements TaoBaoService {
    @Autowired
    private TaoBaoDao taoBaoDao;
    /***
     * 数据库双11 所有买家消费行为比例
     * @return
     */
    @Override
    public  List<Action> action() {
        return taoBaoDao.action();
    }

    @Override
    public List<Gender> gender() {
        return taoBaoDao.gender();
    }

    @Override
    public List<AgeRange> ageRange() {
        return taoBaoDao.ageRange();
    }

    @Override
    public List<CatalogTop5> catalogTop5() {
        return taoBaoDao.catalogTop5();
    }

    @Override
    public List<Province> province() {
        return taoBaoDao.province();
    }
}
